<% include ../header.ejs %>


<link rel="stylesheet" href="/stylesheets/app/address/address.css">

<header data-am-widget="header" data-am-sticky class="am-header am-header-default" id="appTemplates-Nav">

    <div class="am-header-left am-header-nav">
        <a href='/smtool_project/wxapp' class="">
            <img class="am-header-icon-custom" src="data:image/svg+xml;charset&#x3D;utf-8,&lt;svg xmlns&#x3D;&quot;http://www.w3.org/2000/svg&quot; viewBox&#x3D;&quot;0 0 12 20&quot;&gt;&lt;path d&#x3D;&quot;M10,0l2,2l-8,8l8,8l-2,2L0,10L10,0z&quot; fill&#x3D;&quot;%23fff&quot;/&gt;&lt;/svg&gt;" alt=""/>
        </a>
    </div>
    <h1 class="am-header-title">
        <a href="#title-link" class="" id="Typeface-whitecolor">成员管理</a>
    </h1>


    <!--<div class="am-header-right am-header-nav">-->
        <!--<a id="custom-add-button" href="detail?action=add&editable=true">-->
            <!--<i class="am-header-icon am-icon-plus"></i>-->
        <!--</a>-->
    <!--</div>-->


</header>


<ul class="am-list am-list-border am-list-striped">

    <% list.forEach(function(data, key){ %>
    <li class="am-list-item">
        <a href="detail?action=detail&editable=false&rowId=<%=data.rowId%>">
            <span class="am-list-main"><%= data.name %></span>


        <div class="am-g">
            <div class="am-u-sm-6">
                <i class="am-header-icon am-icon-phone"><%= data.phone %></i>
            </div>
            <div class="am-u-sm-6">
                <p class="am-text-sm">
                    <span class="am-icon-weixin"> <%= data.weid %></span>
                </p>
            </div>
        </div>
        </a>
    </li>
    <% }) %>
</ul>





<script>

    function addClick() {
        $('#custom-prompt').modal({
            relatedElement: this,

            onCancel: function () {

            }
        });
    }


</script>

<% include ../footer.ejs %>